#ifdef WX_PRECOMP
#include "wx_pch.h"
#else
#include <wx/wx.h>
#endif //WX_PRECOMP

#include "string_conv.h"

wxString lua2wx(const char* luastr)
{
  return wxString(luastr, *wxConvCurrent);
}

const wxCharBuffer wx2lua(const wxString& wxstr)
{
  wxCharBuffer buffer(wxstr.mb_str(*wxConvCurrent));
  return buffer;
}
